import {
	http
} from "@/common/request.js";
/* 知识库类目-查询列表 */
export function categorylist(data) {
  return http.request({
    url: `/manager/knowledge/category/list`,
    method: "get",
    params:data
  });
}
/* 知识库类目-查询列表 */
export function knowledgelist(data) {
   return http.request({
      url: `/manager/knowledge/list`,
      method: "get",
      params:data
   });
}
/* 知识库知识草稿-查询列表 */
export function knowledgetemporarylist(data) {
    return http.request({
       url: `/manager/knowledge/temporary/list`,
       method: "get",
       params:data
    });
 }
 /* 知识库知识草稿-获取草稿详细信息 */
export function getknowledgetemporary(knowledgeId) {
    return http.request({
      url: `/manager/knowledge/temporary/${knowledgeId}`,
      method: "get",
    });
  }
/* 知识库知识内容-获取详细信息 */
export function getknowledge(knowledgeId) {
    return http.request({
      url: `/manager/knowledge/${knowledgeId}`,
      method: "get",
    });
  }
